package com.qxy.hgz;

import android.app.Application;

import com.bytedance.sdk.open.douyin.DouYinOpenApiFactory;
import com.bytedance.sdk.open.douyin.DouYinOpenConfig;
import com.bytedance.sdk.open.douyin.api.DouYinOpenApi;
import com.qxy.hgz.util.StorageUtil;

/**
 * 用于获取抖音数据权限
 */
public class DouYinApplication extends Application {


    @Override
    public void onCreate() {
        super.onCreate();
        String clientkey = "awdch7loa1isgx2j"; // 需要到开发者网站申请
        DouYinOpenApiFactory.init(new DouYinOpenConfig(clientkey));
        StorageUtil.init(getSharedPreferences("info",MODE_PRIVATE));
    }
}
